<?php
$name = $this->App->to_sentence($authuser['fname'].' '.$authuser['lname']);
?>
<aside class="aside-lg lter b-r">
    <section class="vbox">
        <section class="panel panel-default">
            <div class="panel-body">
                <div class="clearfix text-center m-t">
                    <div class="inline">
                        <div class="easypiechart" data-percent="75" data-line-width="5" data-bar-color="#4cc0c1" data-track-Color="#f5f5f5" data-scale-Color="false" data-size="160" data-line-cap='butt' data-animate="1000">
                            <div class="thumb-lg" style="width: 160px;">
                                <?php echo $this->Html->image('avatar.jpg',array('class'=>'img-circle')); ?>
                            </div>
                        </div>
                        <div class="h4 m-t m-b-xs">
                            <?php
                            echo $name;
                            ?>
                        </div>
                        <small class="text-muted m-b"><?php echo $authuser['index_number']; ?></small>
                    </div>
                </div>
            </div>
            <footer class="panel-footer bg-info text-center">
                <div class="row pull-out">
                    <div class="col-xs-4">
                        <div class="padder-v">
                            <span class="m-b-xs h3 block text-white">245</span>
                            <small class="text-white h5">Fees</small>
                        </div>
                    </div>
                    <div class="col-xs-4 dk">
                        <div class="padder-v">
                            <span class="m-b-xs h3 block text-white">55</span>
                            <small class="text-white h5">Paid</small>
                        </div>
                    </div>
                    <div class="col-xs-4">
                        <div class="padder-v">
                            <span class="m-b-xs h3 block text-white">2,035</span>
                            <small class="text-white h5">Owe</small>
                        </div>
                    </div>
                </div>
            </footer>

            <div class="panel-body">
                <div class="clearfix text-center m-t">
                    <div class="inline">
                        <a href="javascript:void(0);" class="btn btn-s-md btn-dark btn-rounded animated fadeInDown" style="margin-top: 0px; font-size: 18px;">
                            <i class="fa fa-money"></i>
                            Wallet Balance <br />
                            <strong>GHS <?php echo $credit_bal_money; ?></strong>
                        </a>
                        <input type="hidden" id="acct_balance" value="<?php echo $credit_bal_number; ?>"/>
                    </div>
                </div>
            </div>
        </section>
    </section>
</aside>